<table border="1" class="table table-bordered">
	<thead>
		<tr>
			<th>Issue <?php echo $data->ID?></th>
			<th><?php echo $data->quantity_object?> câu</th>
			<th></th>
		</tr>
	</thead>
	<tbody>
		<?php for($i=1;$i<=$data->quantity_object;$i++) {?>
		<tr>
			<td>Câu <?php echo $i?></td>
			<td><?php echo CHtml::dropDownList('listAnswer', '', $data->getAnswers($data->ID),array('id'=>'answer_'.$data->ID.'_'.$i))?></td>
			<td><?php echo CHtml::dropDownList('listEditor', '', $data->getUsers(7),array('id'=>'issue_'.$data->ID.'_'.$i))?></td>
			<td>
				<input class="btn btn-success" id="ok_<?php echo $data->ID.'_'.$i?>" type="button" value="OK" onclick="beforeAssign(<?php echo $data->ID?>,<?php echo $i?>,'ok')">
				<input class="btn btn-inverse" id="invalid_<?php echo $data->ID.'_'.$i?>" type="button" value="Invalid" onclick="beforeAssign(<?php echo $data->ID?>,<?php echo $i?>,'invalid')">
				<input class="btn btn-small refresh" id="refresh_<?php echo $data->ID.'_'.$i?>" type="button" value="Refresh">
			</td>
		</tr>
		<?php }?>
	</tbody>
</table>